﻿@using HCMS.Extensions
@model List<HCMS.Entities.Manage.Menu>

@foreach (var item in Model)
{
    <a class="layui-btn layui-btn-xs" lay-event="@item.ActionName.InitialSmall()">
        @if (!string.IsNullOrWhiteSpace(item.Icon))
        { 
            <i class="@item.Icon"></i>
        }

        @item.DisplayName
    </a>
}